package com.neuedu.entity;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class Role {
    private String name;
    private Date date;
    private List<Integer> power;

    public Role() {
    }

    public Role(String name, Date date, List<Integer> power) {
        this.name = name;
        this.date = date;
        this.power = power;
    }

    public Role(String name, Date date) {
        this.name = name;
        this.date = date;
    }

    public Role(String name) {
        this.name = name;
    }
}
